<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>表单提交</title>
</head>

<body>
  <form action=url(./6.注册页面.html) method="post" target="iframe_display">
    <input type="text" name="name"/>
    <input type="submit" value="提交">
 </form>
<!-- 空iframe，用于协助处理form提交后不进行页面跳转的问题 -->
<iframe id="iframe_display" name="iframe_display" style="display: none;"></iframe>



  <div id="app"></div>
  <!-- VUE导入 -->
  <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
  <script>
    var app = new Vue({
      el: "#app",
      data: {

      },
      methods: {

      }
    })

  </script>
</body>

</html>
